package com.scut.online_black_market.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Builder;
import lombok.Data;

import java.math.BigInteger;
import java.time.LocalDateTime;

@Data
@Builder
@TableName("shopping_guide")
public class ShoppingGuide {
    @TableId(value="product_id",type= IdType.AUTO)
    private BigInteger productId;
    private String shoppingGuideName;
    private float shoppingGuidePrice;
    private String shoppingGuidePictureLocation;
    private String shoppingGuideDescription;
    private String shoppingGuideBuyerId;
    private LocalDateTime shoppingGuideTime;
    private String campus;

    @JsonIgnore
    private int shoppingGuideProductStatus;
}
